# -*- coding: utf-8 -*-
# @Time    : 2021/9/13 23:55
# @Author  : BrandonGT
# @FileName: 6_11_cities.py

cities = {
    "Shanghai": {
        "population": "2000",
        "river": "HuangPuJiang",
        },
    "Hunan": {
        "population": "1000",
        "river": "YangZi",
        },
    }

for key, value in cities.items():
    print(f"The city name is {key}\ncity info")
    for k, v in value.items():
        print(f"\t{k}: {v}")
    print("")